WCPOS\WooCommercePOS\API S

Total Complexity 38
Dependencies 18
Dependents 1
Total lines 343
Lines of code 148
Logical lines of code 90
Comment lines 145
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
authenticate()
S
56 6 19
rest_dispatch_request()
S
61 6 11
shorten_param_array()
S
55 5 19
rest_authentication_errors()
S
62 4 13
get_auth_header()
S
62 4 12
rest_pre_dispatch()
S
58 3 16
__construct()
S
51 2 25
rest_pre_serve_request()
S
67 2 8
determine_current_user()
S
69 2 7
rest_index()
S
65 2 9
rest_allowed_cors_headers()
S
74 1 5
prevent_messages()
S
76 1 4